home *** CD-ROM | disk | FTP | other *** search
- import javax.microedition.lcdui.StringItem;
-
- class AtomicClock$b extends StringItem implements Runnable {
- // $FF: renamed from: if java.lang.Thread
- public Thread field_0;
- // $FF: renamed from: a boolean
- public boolean field_1;
- // $FF: synthetic field
- private final AtomicClock this$0;
-
- public AtomicClock$b(AtomicClock var1) {
- super("", "");
- this.this$0 = var1;
- }
-
- // $FF: renamed from: if () void
- public void method_0() {
- this.field_1 = true;
- this.field_0 = new Thread(this);
- this.field_0.start();
- }
-
- public void run() {
- while(this.field_1) {
- ((StringItem)this).setText(((StringItem)this).getText() + ".");
- if (((StringItem)this).getText().length() > 92) {
- ((StringItem)this).setText("");
- }
-
- try {
- Thread.sleep(100L);
- } catch (InterruptedException var2) {
- }
- }
-
- }
-
- // $FF: renamed from: a () void
- public void method_1() {
- this.field_1 = false;
-
- while(this.field_0.isAlive()) {
- }
-
- this.field_0 = null;
- ((StringItem)this).setText("");
- }
- }
-